package hcn.cmc.bean.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

@XmlRootElement(name = "Data")
public class DisposalrecordResponse implements Serializable {
	private static final long serialVersionUID = 1L;
    private List<Disposalrecord> list;



    @XmlElementWrapper(name = "ItemLists")
    @XmlElement(name = "ItemList")
    public List<Disposalrecord> getList() {
        return list;
    }

    public void setList(List<Disposalrecord> list) {
        this.list = list;
    }

    public static class Disposalrecord {
        // 项目名称 string
        private String projectName;

        // 项目单位string
        private String projectUnit;

        // 项目数量 string
        private String projectAmout;

        @XmlElement(name = "CostName")
        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        @XmlElement(name = "ItemUnit")
        public String getProjectUnit() {
            return projectUnit;
        }

        public void setProjectUnit(String projectUnit) {
            this.projectUnit = projectUnit;
        }

        @XmlElement(name = "ItemAmout")
        public String getProjectAmout() {
            return projectAmout;
        }

        public void setProjectAmout(String projectAmout) {
            this.projectAmout = projectAmout;
        }

        @Override
        public String toString() {
            StringBuilder builder = new StringBuilder();
            builder.append("DisposalrecordResponse [projectName=");
            builder.append(projectName);
            builder.append(", projectUnit=");
            builder.append(projectUnit);
            builder.append(", projectAmout=");
            builder.append(projectAmout);
            builder.append("]");
            return builder.toString();
        }
    }
}
